Skip to content

Remove command line definition of legacy EMSCRIPTEN macro#26417

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:remove_EMSCRIPTEN
Mar 16, 2026
Merged

Remove command line definition of legacy EMSCRIPTEN macro#26417
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:remove_EMSCRIPTEN

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 9, 2026

In #26381, the definition of this macro was moved into the emscripten.h header file, along with a warning if its used.

This change removes this macro from the clang command line generated by emcc, reducing the differences between using emcc and using clang -target=wasm32-emscripten directly.

@sbc100 sbc100 force-pushed the remove_EMSCRIPTEN branch 5 times, most recently from 4c32664 to ce1f9f6 Compare March 9, 2026 22:01
@sbc100 sbc100 force-pushed the remove_EMSCRIPTEN branch from ce1f9f6 to 6e7b3bf Compare March 16, 2026 19:02
@sbc100 sbc100 changed the title Remove command line definition of EMSCRIPTEN Remove command line definition of legacy EMSCRIPTEN macro Mar 16, 2026
@sbc100 sbc100 requested review from dschuff and kripken March 16, 2026 19:03
In emscripten-core#26381, the definition of this macro was moved into the
`emscripten.h` header file, along with a warning if its used.

This change removes this macro from the clang command line generated by
emcc, reducing the differences between using `emcc` and using `clang
 -target=wasm32-emscripten` directly.
@sbc100 sbc100 force-pushed the remove_EMSCRIPTEN branch from 6e7b3bf to 769dc50 Compare March 16, 2026 22:50
@sbc100 sbc100 enabled auto-merge (squash) March 16, 2026 22:50
@sbc100 sbc100 merged commit 39f17c3 into emscripten-core:main Mar 16, 2026
38 checks passed
@sbc100 sbc100 deleted the remove_EMSCRIPTEN branch March 16, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants